XIQS Update User

From IQsimWiki

Jump to: navigation, search

XIQS Update User - User Management

Description
updateXIQSUser ( Long id_user, String login, String password, Integer partition, Integer default_time_zone, String last_name, String first_name, String email_address, String user_language [, Integer ui_allowed] )
Update a partition user
Note: only administrator can update users in other partitions than current
Parameters

Long id_user

User Id

String login

Login name

String password

Login password

Integer partition

User's partition

Integer default_time_zone

Timezone Id, see Timezone table

String last_name

User's last name

String first_name

User's first name

String email_address

User's email address

String user_language

User's language

[ Integer ui_allowed]

Flag which defines if user interface is allowed for this user
Return Values
Return Code
Integer: OK = 1

Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJ_NOT_FOUND (404)ERR_MSG_USER_NOT_FOUND
*ERR_UNAUTHORIZED (401) ERR_MSG_CANT_UPDATE or ERR_MSG_USR_ADMIN_UPD or ERR_MSG_OBJ_NOT_OWNED
*ERR_OBJECT_EXISTS (451)ERR_MSG_USR_NAME_FOUND
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSUserList

createXIQSUser

deleteXIQSUser

getXIQSUserPrefInfo

updateXIQSUserPrefInfo

clearXIQSUserPrefs

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List